/** ***************************************************************************
 * CoffeeTypes.hpp
 * 2012 CoffeeParty Ltd.
 * Date Created: 2012-07-21                                  format YYYY-MM-DD
 * Revision Id: $Id$
 ******************************************************************************
 */

#ifndef _COFFEE_TYPES_HPP_
#define _COFFEE_TYPES_HPP_

typedef void c_void;
typedef bool c_bool;

typedef char c_byte;
typedef int  c_int;
typedef long c_long;

typedef unsigned char c_ubyte;
typedef unsigned int  c_uint;
typedef unsigned long c_ulong;

typedef short          c_short;
typedef unsigned short c_ushort;

typedef float  c_float;
typedef double c_double;
typedef size_t c_size_t;

typedef FILE * c_file_p;

#define NEAR
#define FAR

typedef c_void          FAR * c_voidp;
typedef const c_void    FAR * c_const_voidp;
typedef char            FAR * c_bytep;
typedef const char      FAR * c_const_bytep;
typedef c_ubyte         FAR * c_ubytep;
typedef const c_ubyte   FAR * c_const_ubytep;

typedef const c_int     c_const_int;
typedef const c_uint    c_const_uint;
typedef const c_short   c_const_short;
typedef const c_ushort  c_const_ushort;

typedef c_byte          FAR * FAR * c_bytepp;
typedef c_ubyte         FAR * FAR * c_ubytepp;

#endif /** _COFFEE_TYPES_HPP_ */
